<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>飞腾会-FitaClub</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current index-page login-page bg-light-gray">
      <!-- <header class="bar bar-nav fita-header">
        <h1 class="title">登陆</h1>
      </header> -->
      <div class="content">
        <!-- <h1 class="login-title">登陆</h1> -->
        <div class="list-block mobile-bind-list" style="margin-top: 9rem;">
          <ul>
            <li class="item-content">
              <div class="item-inner">
                <div class="item-input">
                  <input class="text-left" type="tel" name="mobile"
                    placeholder="手机号：">
                </div>
              </div>
            </li>
            <li class="item-content clearfix">
              <div class="item-inner pull-left" style="margin-right: .3rem;">
                <div class="item-input">
                  <input class="text-left" type="text" name="code"
                    placeholder="请输入验证码">
                </div>
              </div>
              <div class="item-button pull-left"
                style="margin-top: -.4rem; margin-bottom: -.35rem; height: 2.6rem;">
                <button id="get-code" class="button button-fill button-warning"
                  style="height: 100%; background-color: #B0926B;border-radius: 0px;color: #000; padding: 0 .85rem;">点击获取验证码</button>
              </div>
            </li>
          </ul>
        </div>
        <div class="content-block submit-btn">
          <p style="margin-bottom: .5rem;">
            <a href="javascript:void(0);" data-href="/cars/search" id="submit"
              class="button button-fill button-success button-big button-block"
              style="margin: 0px; color: #000;">登陆</a>
          </p>
          <div class="clearfix text-center">
          <p class="pull-right" style="margin-top: 0rem;width: 48%">
          <small>
            <a href="${ctx.host}/company-agent-applies?${not empty primaryAgentId ? "&primaryAgentId=" += primaryAgentId : ""}${not empty rate ? "&rate=" += rate : ""}"
              data-toggle="push" style="color: #000; padding: 5px 5px; background: #B0926B;display: block;">公司注册</a>
          </small>
          </p>
          <p class="pull-left" style="margin-top: 0rem;width: 48%">
            <small>
            <a href="${ctx.host}/personal-agent-applies?${not empty primaryAgentId ? "&primaryAgentId=" += primaryAgentId : ""}${not empty rate ? "&rate=" += rate : ""}"
              data-toggle="push" style="color: #000; padding: 5px 5px; background: #B0926B;display: block;">个人注册</a>
            </small>
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
  <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource type="script" root="${ctx.resource}/build" src="js/page/login.js" />
  <script type="text/javascript">
    require(['page/login'], function(page) {
      page.init({
        jsConfig: JSON.parse('${jsConfig}'),
        redirectUrl: '${redirectUrl}'
      })
    })
  </script>
</body>
</html>